from django.conf.urls import url
from EmployeeApp import views

from django.conf.urls.static import static
from django.conf import settings

urlpatterns = [
    url('^department$', views.departmentApi),
    url('^department/[0-9]+$', views.departmentApi),
    
    url('^employee$', views.employeeApi),
    url('^employee/[0-9]+$', views.employeeApi),

    url('^employee/SaveFile$', views.SaveFile)
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
